package com.dd.cloud.user.entity.phar;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "药房物流表")
public class PharExpressRule {

    /**
     * 物流费id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 所在省
     */
    @Column(comment = "省份", length = 20)
    private String province;

    /**
     * 所在城市
     */
    @Column(comment = "城市", length = 20)
    private String city;

    /**
     * 快递方式
     */
    @Column(comment = "1.快递邮寄,2.快递到付")
    private Integer deliverWay;

    /**
     * 省外快递费
     */
    @Column(comment = "省外快递费")
    private Integer provincialOutFee;

    /**
     * 市内快递费
     */
    @Column(comment = "市外快递费")
    private Integer cityFee;

    /**
     * 室外快递费
     */
    @Column(comment = "市外快递费")
    private Integer cityOutFee;


    /**
     * 是否勾选
     */
    @Column(comment = "是否勾选 1.勾选 0.未勾选",length = 4)
    private Integer isChecked;


    /**
     * 免快递费
     */
    @Column(comment = "免快递费")
    private Integer fee;

    /**
     * 药房id
     */
    @Column(comment = "药房id")
    private Integer pharId;

    /**
     * 备注
     */
    @Column(comment = "备注", length = 256)
    private String remark;

    /**
     * 是否勾选室外免快递费
     */
    @Column(comment = "是否勾选市外免快递费 0.勾选 1.未勾选")
    private Integer isInnerCityChecked;

    /**
     * 药品市外免费额度
     */
    @Column(comment = "药品市外免费额度")
    private Integer innerCityFee;

    /**
     * 是否勾选省内免快递费
     */
    @Column(comment = "是否勾选(省内市外)免快递费 0.勾选 1.未勾选")
    private Integer isInnerProvincialChecked;

    /**
     * 省内免快递费
     */
    @Column(comment = "(省内市外)免快递费")
    private Integer innerProvincialFee;

    /**
     *是否勾选省外免快递
     */
    @Column(comment = "(省外)免快递费 0.勾选 1.未勾选")
    private Integer isOutProvincialChecked;

    /**
     *省外免快递
     */
    @Column(comment = "(省内市外)免快递费 0.勾选 1.未勾选")
    private Integer isOutProvincialFee;


    /**
     * 更新时间
     */
    @Column(comment = "更新时间")
    private LocalDateTime updateDate;



}
